<%@ Page Language="C#" AutoEventWireup="true" CodeFile="GonzalesAdminChangeClaimStatusDetail.aspx.cs" Inherits="GonzalesAdminChangeClaimStatusDetail" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
    <title>Untitled Page</title>
    <link href="WebStyle.css" rel="stylesheet" type="text/css" />
    <style type="text/css">
<!--
.HorizontalLineFromTop {	border-top-width: 1px;
	border-top-style: solid;
	border-top-color: #999999;
}
-->
    </style>
    
        <link rel="stylesheet" href="js/windowfiles/dhtmlwindow.css" type="text/css" />
    <script type="text/javascript" src="js/windowfiles/dhtmlwindow.js">

    /***********************************************
    * DHTML Window Widget-  Dynamic Drive (www.dynamicdrive.com)
    * This notice must stay intact for legal use.
    * Visit http://www.dynamicdrive.com/ for full source code
    ***********************************************/

    </script>

    <link rel="stylesheet" href="js/modalfiles/modal.css" type="text/css" />
    <script type="text/javascript" src="js/modalfiles/modal.js"></script>
    <script type="text/javascript" src="js/modaltools.js"></script>    
    
</head>
<script type="text/javascript" language="javascript" src="js/popcalendar.js"></script>
<script type="text/javascript" language="javascript" src="js/common.js"></script>
<body>
<form id="form1" runat="server" text='Claimants'>
<input type="hidden" name="ModalResult" id="ModalResult" />
  <div>
    <table width="100%" border="0" cellspacing="1" cellpadding="8">
      <tr>
        <td class="PageTitle"><asp:Label ID="Label_PageTitle" Text='Change Status ' runat="server" />
        </td>
      </tr>
      <tr>
        <td><table width="100%" border="0" cellspacing="1" cellpadding="2">
          <tr>
            <td width="170" rowspan="2" valign="top"><asp:Label CssClass="FormTitle" ID="Label_Information" runat="server" Text='Change Status :: General Claims' /></td>
            <td width="8" rowspan="2" class="VerticalDivider">&nbsp;</td>
            <td ><asp:Table CellPadding="5" CellSpacing="0" ID="Table_MessageBox" Width="100%" runat="server" Visible="false">
              <asp:TableRow>
                <asp:TableCell CssClass="ErrorBox" ></asp:TableCell>
              </asp:TableRow>
            </asp:Table></td>
          </tr>
          <tr>
            <td><table width="100%" border="0" cellpadding="5" cellspacing="0" class="FormBorder">
              <tr>
                <td colspan="4" align="right" class="FormLineItemAlt"><input type="image" name="ButtonCancel" id="ButtonCancel" src="img/popcalendar/close.gif"></td>
              </tr>
              <tr>
                <td width="15%" class="FormLineItem" style="height: 11px">
                    <asp:Label ID="Label_Status" runat="server" CssClass="FormField" Text="Status:"></asp:Label><span class="MessageError">*</span></td>
                <td  width="25%"class="FormLineItem" style="height: 11px">
                    <asp:DropDownList ID="DropDownList_Status" runat="server" CssClass="FormDropDown"  OnSelectedIndexChanged="DropDownList_Status_SelectedIndexChanged" AutoPostBack="True">
                    </asp:DropDownList></td>
                    <td width="15%" class="FormLineItem">
                        <asp:Label ID="Label_Personal" CssClass="FormField" runat="server" Text="Approver:"></asp:Label></td>
                    <td width="25%" class="FormLineItem">
                        <asp:DropDownList CssClass="FormDropDown" ID="DropDownList_Personal" runat="server">
                        </asp:DropDownList></td>
               
              </tr>
              <tr>
                <td class="FormLineItemAlt">
                    <asp:Label CssClass="FormField" ID="Label_Remark" runat="server" Text="Remark:"></asp:Label><span class="MessageError">*</span></td>
                <td class="FormLineItemAlt" colspan = 3 width="85%">
                    <asp:TextBox CssClass="FormTextBox"  ID="TextBox_Remark" runat="server" Width="512px"></asp:TextBox></td>
               
              </tr>
              <tr>
                <td width="15%" class="FormLineItem" style="height: 11px">
                    <asp:Label ID="LabelEmail" runat="server" CssClass="FormField" Text="Email Notification:"></asp:Label></td>
                <td  width="25%"class="FormLineItem" style="height: 11px" colspan = 3>
                    <asp:CheckBox ID="CheckBox_email" runat="server" /></td>
                   
               
              </tr>
              <tr>
                <td colspan="4" class="FormLineItemAlt" > <asp:Button CssClass="FormButton" 
                        ID="Button_Submit" runat="server" Text="Confirm" 
                        OnClick="Button_Submit_Click" />&nbsp;
</td>
              </tr>
            </table></td>
          </tr>
             <tr><td colspan="3" valign="top"  class="FormLineItem"  >
              <asp:Label ID="LabelDetail" runat="server" Text="Claim Detail" CssClass="FormField"></asp:Label></td></tr>
          <tr>
            <td colspan="3" valign="top" class="HorizontalLineFromTop">
                <asp:GridView ID="GridViewResult" runat="server" AutoGenerateColumns="False" CellPadding="5"
                    CssClass="FormBorder" OnRowCreated="OnRowCreated" Width="100%">
                    <RowStyle CssClass="GridViewItem" />
                    <HeaderStyle CssClass="GridViewHeader" />
                    <Columns>
                     <asp:HyperLinkField DataNavigateUrlFields="InternalID" DataNavigateUrlFormatString="GonzalesViewClaim.aspx?id={0}"
                            DataTextField="ClaimID" HeaderText="Claim ID" Target="new">
                            <ControlStyle CssClass="GridViewLink" />
                            <ItemStyle HorizontalAlign="center" />
                        </asp:HyperLinkField>                        
                        <asp:BoundField DataField="Category" HeaderText="Category">
                            <ItemStyle HorizontalAlign="center" />
                        </asp:BoundField>
                        <asp:BoundField DataField="Purpose" HeaderText="Purpose" />
                        <asp:BoundField DataField="SubmittedDate" HeaderText="Submitted Date">
                            <ItemStyle HorizontalAlign="Center" />
                        </asp:BoundField>
                        <asp:BoundField DataField="LocalCurrency" HeaderText="Local Currency">
                            <ItemStyle HorizontalAlign="center" />
                        </asp:BoundField>
                        <asp:BoundField DataField="AmountClaimed" HeaderText="Claim Amount">
                            <ItemStyle HorizontalAlign="center" />
                        </asp:BoundField>
                        <asp:BoundField DataField="FinalAmount" HeaderText="Final Amount">
                            <ItemStyle HorizontalAlign="center" />
                        </asp:BoundField>
                        <asp:BoundField DataField="LessCardsTransaction" HeaderText="Less Cards Transaction">
                            <ItemStyle HorizontalAlign="center" />
                        </asp:BoundField>
                        <asp:BoundField DataField="OwningToFromEmployee" HeaderText="Owning To/From Employee">
                            <ItemStyle HorizontalAlign="center" />
                        </asp:BoundField>
                        <asp:BoundField DataField="ClaimedBy" HeaderText="Claimant" />
                        <asp:BoundField DataField="EmployeeID" HeaderText="Employee ID">
                            <ItemStyle HorizontalAlign="center" />
                        </asp:BoundField>
                        <asp:BoundField DataField="CostCenter" HeaderText="Cost Center">
                            <ItemStyle HorizontalAlign="Center" />
                        </asp:BoundField>
                        <asp:BoundField DataField="Status" HeaderText="Status" />
                        <asp:BoundField DataField="LastProcessedDate" HeaderText="Last Processed Date">
                            <ItemStyle HorizontalAlign="Center" />
                        </asp:BoundField>
                        <asp:BoundField DataField="LastProcessedBy" HeaderText="Last Processed By">
                            <ItemStyle HorizontalAlign="Center" />
                        </asp:BoundField>
                    </Columns>
                </asp:GridView>
                
                <asp:HiddenField ID="HiddenField_originStatus" runat="server" />
                <asp:HiddenField ID="HiddenField_personalID" runat="server" />
            </td>
          </tr>
          <tr><td colspan="3" valign="top"  class="FormLineItem"  >
              <asp:Label ID="Label_History" runat="server" Text="Change History" CssClass="FormField"></asp:Label></td></tr>
          <tr>
            <td colspan="3" valign="top" style="height: 79px"  >
            <asp:GridView ID="GridView_history" runat="server" AutoGenerateColumns="False" CellPadding="5"
                    CssClass="FormBorder" Width="100%">
                    <RowStyle CssClass="GridViewItem" />
                    <HeaderStyle CssClass="GridViewHeader" />
                    <Columns>
                        <asp:BoundField DataField="change_Date" HeaderText="Date">
                            <ItemStyle HorizontalAlign="center" />
                        </asp:BoundField>
                        <asp:BoundField DataField="change_originStatus" HeaderText="Status From">
                            <ItemStyle HorizontalAlign="center" />
                        </asp:BoundField>
                        <asp:BoundField DataField="change_tostatus" HeaderText="Status To">
                            <ItemStyle HorizontalAlign="Center" />
                        </asp:BoundField>
                        <asp:BoundField DataField="change_remark" HeaderText="Remark" />
                        <asp:BoundField DataField="Change_by" HeaderText="Change by">
                            <ItemStyle HorizontalAlign="center" />
                        </asp:BoundField>                       
                    </Columns>
                </asp:GridView>
            </td>
          </tr>
        </table></td>
      </tr>
    </table>
  </div>
</form>
</body>
</html>

